package net.v.autoupdate;

import org.apache.log4j.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import autoupdate.test.AutoUpdaterV2;

public class Driver {

	private static Logger logger = Logger.getLogger(Driver.class);
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//Load Spring Context
		String[] contextPaths = new String[] { "classpath:app-context.xml" };
		ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(contextPaths);
		
		boolean areUpdates = AutoUpdaterV2.checkForUpdates();
		System.out.println("Updates available: " + areUpdates);
		
	}

}
